﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace WpfDataBingding.DevTreeData
{
    public class MonitorAgent
    {
        private string _id;
        private ObservableCollection<Device> deviceList;

        public ObservableCollection<Device> DeviceList
        {
            get { return deviceList; }
            set { deviceList = value; }
        }

        public string ID
        {
            set { _id = value; }
            get { return _id; }            
        }

        override public string ToString()
        {
            if (this._id == null)
                return "";
            return this._id;
        }
    }

}
